<template>
	<view class="box">
		<view class="auto">
			<image src="https://s1.ax1x.com/2022/11/26/ztGpDK.png" mode="widthFix"></image>
			<view class="mazel">恭喜你，操作成功!</view>
			<view class="massage">{{data.name}}</view>
			<view class="massage">你的门牌号是:{{data.building}}</view>
			<view class="massage">等待物业审核!</view>
			<button @click="go">返回首页</button>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				data:uni.getStorageSync("buildInfo")
			}
		},
		methods:{
			go(){
				uni.switchTab({
					url:'../../home/home'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.box{
		width: 100%;
		text-align: center;
		.auto{
			margin: auto;
			image{
				width: 150rpx;
				margin-top: 160rpx;
			}
			.mazel{
				font-size: 38rpx;
				font-weight: 700;
				margin: 60rpx 0;
			}
			.massage{
				font-size: 30rpx;
				margin-bottom: 10rpx;
			}
			button{
				width: 645rpx;
				height: 95rpx;
				background-color: #1f8fff;
				color: #fff;
				text-align: center;
				border-radius: 45rpx;
				margin-top: 70rpx;
			}
		}
		
	}
</style>